package org.ehe.finance.voucher.domain.vo;

import io.github.linpeilie.annotations.AutoMapper;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.ehe.finance.voucher.domain.ErpFinanceVoucherType;

import java.time.LocalDateTime;

/**
 * @author :zhangnn
 * @className :ErpFinanceVoucherTypeVo
 * @description: TODO
 * @date 2025-08-22 17:43:05
 */
@Data
@AutoMapper(target = ErpFinanceVoucherType.class)
public class ErpFinanceVoucherTypeVo {
    @Schema(description = "ID")
    private Long id;

    @Schema(description = "凭证类别编码")
    private String typeCode;

    @Schema(description = "凭证类别名称")
    private String typeName;

    @Schema(description = "凭证字")
    private String prefix;

    @Schema(description = "凭证号长度")
    private Integer numberLength;

    @Schema(description = "状态:0禁用,1启用")
    private Integer status;

    @Schema(description = "状态描述")
    private String statusName;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "更新时间")
    private LocalDateTime updateTime;
}
